package ru.stepuk.modern.util;

import javax.swing.Icon;
import org.apache.commons.collections15.Transformer;
import ru.stepuk.modern.nodes.Node;

/**
 *
 * @author ivan
 */
public class NodeIconTransformer implements Transformer<Node, Icon> {

    public Icon transform(Node i) {
        return i.getIcon();
    }
}
